package com.xiaoluo.lottery.common.weixin.msg.beans;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Project : lottery
 * Package : com.xiaoluo.lottery.common.weixin.msg.beans
 * Created by Willian.
 * Date  : 2016/4/7 20:31.
 */
public class TemplateMsgReq {

    /**
     "touser":"OPENID",
     "template_id":"ngqIpbwh8bUfcSsECmogfXcV14J0tQlEpBO27izEYtY",
     "url":"http://weixin.qq.com/download",
     "data"
     */
    @JsonProperty("touser")
    private String touser;
    @JsonProperty("template_id")
    private String template_id;
    @JsonProperty("url")
    private String url;
    @JsonProperty("data")
    private Object data;

    public TemplateMsgReq(@JsonProperty("touser") final String touser,
                          @JsonProperty("template_id") final String templateId,
                          @JsonProperty("url") final String url,
                          @JsonProperty("data") final Object data) {

        this.touser = touser;
        this.template_id = templateId;
        this.url = url;
        this.data = data;
    }

    public String getTouser() {
        return touser;
    }

    public void setTouser(String touser) {
        this.touser = touser;
    }

    public String getTemplate_id() {
        return template_id;
    }

    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
